package net.siufung.boot.datasource.autoconfigure;

import lombok.AllArgsConstructor;
import net.siufung.boot.datasource.service.IDatasourceService;
import net.siufung.boot.datasource.service.impl.DatasourceServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 陈建峰
 * @since 2022/8/15 5:55 下午
 */
@Configuration
@AllArgsConstructor
public class DatasourceAutoConfig {

    @Bean
    public IDatasourceService datasourceService(){
        return new DatasourceServiceImpl();
    }

}
